//
//  TDUser.m
//  TFB
//
//  Created by Nothing on 15/3/21.
//  Copyright (c) 2015年 TD. All rights reserved.
//

#import "TDUser.h"

@implementation TDUser


+ (instancetype)defaultUser
{
    static TDUser *user;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        user = [[self alloc] init];
    });
    return user;
}

- (instancetype)initWithDictionary:(NSDictionary *)dic
{
    self = [super init];
    if (self) {
        
    }
    
    return self;
}

- (NSString *)get_custStatus_string
{
    if ([self.custStatus isEqualToString:@"1"]) {
        return @"审核中";
    } else if ([self.custStatus isEqualToString:@"2"]) {
        return @"已认证";
    } else {
        return @"未认证";
    }
}

- (NSString *)get_cardBundingStatus_string
{
    if ([self.cardBundingStatus isEqualToString:@"1"]) {
        return @"审核中";
    } else if ([self.cardBundingStatus isEqualToString:@"2"]) {
        return @"已认证";
    } else {
        return @"未认证";
    }
}

@end
